package org.ksug.samples.springmvc;

import java.util.Date;

public class Account {

	private String number;
	private String name;
	private Date registrationDate;
	private Country nationality;

	public Account(String number, String name, Country nationality,
			Date registrationDate) {
		this.number = number;
		this.name = name;
		this.nationality = nationality;
		this.registrationDate = registrationDate;
	}

	public Account() {
	}

	public String getNumber() {
		return number;
	}

	public String getName() {
		return name;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getRegistrationDate() {
		return registrationDate;
	}

	public void setRegistrationDate(Date registrationDate) {
		this.registrationDate = registrationDate;
	}

	/**
	 * @return the nationality
	 */
	public Country getNationality() {
		return nationality;
	}

	/**
	 * @param nationality
	 *            the nationality to set
	 */
	public void setNationality(Country nationality) {
		this.nationality = nationality;
	}

}
